﻿ALTER TABLE [ODCore].[ObservedVariable]
    ADD CONSTRAINT [FK_ODCore_ObservedVariable_ODCore_ControlledVocabularies_ObservationMediumID] FOREIGN KEY ([ObservationMediumID]) REFERENCES [ODCore].[ControlledVocabulary] ([TermID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

